package com.service.impl;

import com.service.WeixinService;
import com.yhp.WeiXinApp;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 2020-04-28
 * Administrator
 * meiteshopparent
 * 面向对象面向君  不负代码不负卿
 */
@RestController
public class WeiXinServiceImpl implements WeixinService {

    @GetMapping("/getweixinapp")
    @Override
    public WeiXinApp getapp() {
        System.out.println("微信方被调用");
        return new WeiXinApp("11110","王者荣耀");
    }
}
